package com.shen.cloud;

import com.shen.rule.MyRibbonRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
@RibbonClient(name="SPRINGCLOUD-EUREKA-CLIENT-PRO-8001",configuration = MyRibbonRule.class)
public class EurekaClient_9001 {
    public static void main(String[] args) {
        SpringApplication.run(EurekaClient_9001.class,args);
    }
}
